package coffee;

public class CoffeeMain{
   public static void main(String args[]){
 
      //拿出牛奶
		CoffeeImpSingleton coffeeImpSingleton = new CoffeeImpSingleton(new MilkCoffeeImp());

		//中杯加奶
		//coffee.MediumCoffee mediumCoffee = new coffee.MediumCoffee();
		//mediumCoffee.pourCoffee();

		//大杯加奶
		SuperSizeCoffee superSizeCoffee = new SuperSizeCoffee();
		superSizeCoffee.pourCoffee();

		//拿出糖
	   CoffeeImpSingleton coffeeImpSingleton1 = new CoffeeImpSingleton(new SugarCoffeeImp());

		//小杯加糖
	   LittleSizeCoffee littleSizeCoffee = new LittleSizeCoffee();
	   littleSizeCoffee.pourCoffee();
   }

}